package org.metasketch.graphics.language.xml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("node")
public class FullNode extends Node {

	// these two set the preferred ones
	@XStreamAsAttribute
	String width = "80";

	@XStreamAsAttribute
	String height = "80";

	@XStreamAsAttribute
	String maxHeight;

	@XStreamAsAttribute
	String maxWidth;

	// can't be smaller than 5
	@XStreamAsAttribute
	String minHeight;

	@XStreamAsAttribute
	String minWidth;

	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getMaxHeight() {
		return maxHeight;
	}

	public void setMaxHeight(String maxHeight) {
		this.maxHeight = maxHeight;
	}

	public String getMaxWidth() {
		return maxWidth;
	}

	public void setMaxWidth(String maxWidth) {
		this.maxWidth = maxWidth;
	}

	public String getMinHeight() {
		return minHeight;
	}

	public void setMinHeight(String minHeight) {
		this.minHeight = minHeight;
	}

	public String getMinWidth() {
		return minWidth;
	}

	public void setMinWidth(String minWidth) {
		this.minWidth = minWidth;
	}

}
